import { createBrowserRouter } from "react-router-dom";

import appRouter from "./views/app/router";
import loveRouter from "./views/love/router";
import dishRouter from "./views/dish/router";
import bookRouter from "./views/book/router";

import houseRouter from "./views/house/router";
import postRouter from "./views/post/router";
import Lifepay from './views/Lifepay/router'

const router = createBrowserRouter([
  appRouter,
  loveRouter,
  dishRouter,
  houseRouter, //添加路由
  postRouter,
  bookRouter,
  Lifepay,
]);

export default router;
